package xyj.sparrow.scheduler.server.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;


@ConfigurationProperties(prefix = "xyj.sparrow.server")
@Data
public class NettyServerConf {
    /**
     * 本地服务的端口号，默认9999
     */
    private int port = 9999;
    /**
     * 是否启动服务
     */
    private boolean enabled = true;

}
